<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/jsplib/pubhead.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>i友邻</title>
	<link rel="stylesheet" type="text/css" href="${cpath}/css/index.css" />
</head>

<body onload="javascript:document.getElementById('email').focus();">
<div align="center">
  <div class="head"><div class="logo"><img src="${cpath}/images/logo.png" /></div><div class="by"><img src="${cpath}/images/by.png" /></div></div>
  
<form id="loginform" name="theform" method="post" action="${cpath}/users.do?action=sendpwd">
  <div class="content">
    <div class="login">
	  <div class="logintr1"><img src="${cpath}/icon/email.gif" /><input name="email" id="email" type="text" size="15" ></div>
	  <div class="logintr3">请输入你注册时的邮箱</div>
	  <div class="loginbt">
	  <input type="button" name="reg_sub"  onClick="javascript:doSend();" class="blue" value="取回密码"/>
	  </div>
	</div>
	<div class="ad2"></div>
  </div>
	<!--隐藏字段--->
	<INPUT type="hidden" name="nexturl" value="">
</form>  
  <div class="foot">奥瑞福出品  粤ICP备11006344
</div>
</div>
</body>
</html>
	<SCRIPT language=javascript>
		function doSend()
		{
			var re = /^[_a-zA-Z0-9\-\.]+@([\-_a-zA-Z0-9]+\.)+[a-zA-Z0-9]{2,3}$/;
			var form = document.theform;
			var email	= form['email'];

			if(!email.value.match(re)){
				alert("邮箱不正确！");
				email.select();
				return false;
			}
			form.submit();
		}
	</SCRIPT>